require("mason").setup()
require("mason-lspconfig").setup({
  ensure_installed = { "lua_ls", "pylsp", "rust_analyzer", "clangd", "html", "cssls", "vtsls", "intelephense", "cmake", }
})

local capabilities = require('cmp_nvim_lsp').default_capabilities()

require("lspconfig").lua_ls.setup {
  capabilities = capabilities,
}

require("lspconfig").pylsp.setup {
  capabilities = capabilities,
}

require("lspconfig").rust_analyzer.setup {
  capabilities = capabilities,
}

require("lspconfig").clangd.setup {
  capabilities = capabilities,
}

require("lspconfig").html.setup {
  capabilities = capabilities
}

require("lspconfig").cssls.setup {
  capabilities = capabilities
}

require("lspconfig").vtsls.setup {
  capabilities = capabilities
}

require("lspconfig").intelephense.setup {
  capabilities = capabilities
}

require("lspconfig").cmake.setup {
  capabilities = capabilities
}

